package com.qmy.dao;

import com.qmy.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    List<User> getUserList();

    //根据id查询用户
    User getUserByID(int id);
    User addUser2(Map<String,Object> map);

    //插入用户
    int addUser(User user);

    int updateUser(User user);
    //删除用户
    int deleteUser(int id);
}
